package com.xxxy.jsq.model;

import com.alibaba.fastjson2.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

public class Level  implements Serializable {
    private Long levelId;
    private String levelName;
    private Integer levelOrder;
    private String levelFlag;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date levelCDate;

    // 构造函数

    public Level() {
    }

    public Level(Long levelId, String levelName, Integer levelOrder, String levelFlag, Date levelCDate) {
        this.levelId = levelId;
        this.levelName = levelName;
        this.levelOrder = levelOrder;
        this.levelFlag = levelFlag;
        this.levelCDate = levelCDate;
    }

    // Getter 和 Setter 方法

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public Integer getLevelOrder() {
        return levelOrder;
    }

    public void setLevelOrder(Integer levelOrder) {
        this.levelOrder = levelOrder;
    }

    public String getLevelFlag() {
        return levelFlag;
    }

    public void setLevelFlag(String levelFlag) {
        this.levelFlag = levelFlag;
    }

    public Date getLevelCDate() {
        return levelCDate;
    }

    public void setLevelCDate(Date levelCDate) {
        this.levelCDate = levelCDate;
    }

    // toString 方法（可选）

    @Override
    public String toString() {
        return "Level{" +
                "levelId=" + levelId +
                ", levelName='" + levelName + '\'' +
                ", levelOrder=" + levelOrder +
                ", levelFlag='" + levelFlag + '\'' +
                ", levelCDate=" + levelCDate +
                '}';
    }
}
